package com.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.beans.Cla;
import com.mapper.ClaMapper;
import com.service.IClaService;

@Service
@Transactional
public class ClaService implements IClaService{
	
	// 注入claMapper
	@Autowired
	private ClaMapper claMapper;

	@Override
	public void register(Cla cla) {
		claMapper.register(cla);
	}

	@Override
	public List<Cla> getAllList() {
		return claMapper.getAllList();
	}

}
